package com.code.day19;

import java.util.HashMap;

public class Demo05HashMap {
    public static void main(String[] args) {
        HashMap<Person, String> map = new HashMap<>();

        map.put(new Person("涛哥",16),"河北廊坊");
        map.put(new Person("振国",25),"山西临汾");
        map.put(new Person("益行",68),"北京廊坊");
        map.put(new Person("涛哥",16),"山西大同");
        System.out.println(map);
    }

}
